package jp.tkym.labs.store;

import jp.tkym.labs.store.query.BeanQuery;

public interface BeanstoreService{
	public void commit() throws BeanstoreException;
	public void rollback() throws BeanstoreException;
	public <B> Beanstore<B> store(Class<B> cls);
	public <B> BeanQuery<B> query(Class<B> cls);
	public void close() throws BeanstoreException;
}